<template>
	<benben-position-popup
		ref="benbenPositionPopup1692866242572"
		:width="200"
		:height="406"
		:mask-hide='false'
		popup-origin="left bottom"
	>
		<view class='flex flex-direction align-center justify-around benben-flex-position-popup flex simplifiedPaper_popup_8'>
			<text
				class='simplifiedPaper_positionPopup8_c0'
				v-for="(str,index) in optionList"
				:key="index"
				@click.stop="confirm(str)"
			>{{str}}</text>
		</view>
	</benben-position-popup>

</template>

<script>
	/**
	 * @event {Function()} confirm 确认选中的关键词
	 */
	export default {
		props: {
			value: Boolean,
		},
		computed: {
			isShow: {
				get() { return this.value },
				set(val) { this.$emit('input', val) }
			}
		},
		data() {
			return {
				optionList: ["继续", "重写", "扩写", "简要概括", "举例", "总结"]
			}
		},
		methods: {
			open(event) { this.$refs.benbenPositionPopup1692866242572.open(event) },
			confirm(name = "") {
				this.$emit('confirm', name);
				this.$refs.benbenPositionPopup1692866242572.close()
			},
		}
	}
</script>

<style
	lang="scss"
	scoped
>
	@import './../digitalPersonUseMessage.scss';
</style>